package com.xian.hotels.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xian.common.annotation.Excel;
import com.xian.common.core.domain.BaseEntity;

/**
 * 酒店信息对象 hotels
 * 
 * @author ruoyi
 * @date 2025-04-08
 */
public class Hotels extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long hotelId;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String name;

    /** 酒店地址 */
    @Excel(name = "酒店地址")
    private String address;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String city;

    /** 所在国家 */
    @Excel(name = "所在国家")
    private String country;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 酒店描述 */
    @Excel(name = "酒店描述")
    private String description;

    /** 酒店评分 */
    @Excel(name = "酒店评分")
    private BigDecimal rating;

    /** 开业年份 */
    @Excel(name = "开业年份")
    private String openedYear;

    /** 点评数量 */
    @Excel(name = "点评数量")
    private Long reviewCount;

    /** 酒店图片URL */
    @Excel(name = "酒店图片URL")
    private String imageUrl;

    /** 酒店类型（例如民宿、钟点房、酒店等） */
    @Excel(name = "酒店类型", readConverterExp = "例=如民宿、钟点房、酒店等")
    private String hotelType;

    /** 房间信息信息 */
    private List<HotelRooms> hotelRoomsList;

    public void setHotelId(Long hotelId) 
    {
        this.hotelId = hotelId;
    }

    public Long getHotelId() 
    {
        return hotelId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setRating(BigDecimal rating) 
    {
        this.rating = rating;
    }

    public BigDecimal getRating() 
    {
        return rating;
    }

    public void setOpenedYear(String openedYear) 
    {
        this.openedYear = openedYear;
    }

    public String getOpenedYear() 
    {
        return openedYear;
    }

    public void setReviewCount(Long reviewCount) 
    {
        this.reviewCount = reviewCount;
    }

    public Long getReviewCount() 
    {
        return reviewCount;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setHotelType(String hotelType) 
    {
        this.hotelType = hotelType;
    }

    public String getHotelType() 
    {
        return hotelType;
    }

    public List<HotelRooms> getHotelRoomsList()
    {
        return hotelRoomsList;
    }

    public void setHotelRoomsList(List<HotelRooms> hotelRoomsList)
    {
        this.hotelRoomsList = hotelRoomsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hotelId", getHotelId())
            .append("name", getName())
            .append("address", getAddress())
            .append("city", getCity())
            .append("country", getCountry())
            .append("phone", getPhone())
            .append("description", getDescription())
            .append("rating", getRating())
            .append("openedYear", getOpenedYear())
            .append("reviewCount", getReviewCount())
            .append("imageUrl", getImageUrl())
            .append("hotelType", getHotelType())
            .append("hotelRoomsList", getHotelRoomsList())
            .toString();
    }
}
